PEGetExportOptions

Use PEGetExportOptions to retrieve export options from the user before exporting the report. PEGetExportOptions can be used to present a series of dialog boxes that retrieve export options from your users. These options are used by the Crystal Report Engine to fill in PEExportOptions. Function PEExportTo, can then be used to set the print job destination using the information in PEExportOptions.

C Syntax
BOOL CRPE_API PEGetExportOptions (
        short printJob,
        PEEXportOptions FAR *options );
Parameters

printJob

Specifies the print job from which you want to get export options.

options

Specifies a pointer to PEExportOptions.

Returns
VB Syntax

VB Sample Code for exporting a report

Declare Function PEGetExportOptions Lib "crpe32.dll" (
    ByVal printJob As Integer, ExportOptions As PEExportOptions ) As Integer
Delphi Syntax
function PEGetExportOptions (
    printJob: Word;
    var options: PEExportOptions
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com